import request from "@/utils/request.js";

const baseUrl = '/admin/transportFee'
export const getTransportFeeListService = () => {
    return request({
        url: `${baseUrl}`,
        method: 'GET'
    })
}

export const updateTransportFeeService = (data) => {
    return request({
        url: `${baseUrl}`,
        method: 'PUT',
        data
    })
}

export const addTransportFeeService = (data) => {
    return request({
        url: `${baseUrl}`,
        method: 'POST',
        data
    })
}

export const removeTransportFeeService=(id)=>{
    return request({
        url:`${baseUrl}/${id}`,
        method:'DELETE'
    })
}
